#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main()
{
    double a,b,c,x1,x2;
    double d;
    scanf("%lf %lf %lf",&a,&b,&c);
    d = b*b-4*a*c;
    if(a==0 && b==0 && c==0)
    {
        printf("Zero Equation");
    }
    else if(a==0 && b==0&& c!=0)
    {
        printf("Not An Equation");
    }
    else if(a==0&&b!=0&&c!=0)
    {
        printf("%.2lf",-c/b);
    }
    else if(d>0)
    {
        x1=(-b+sqrt(d))/(2*a);
        x2=(-b-sqrt(d))/(2*a);
        if(x1<x2)
        {
            printf("%.2lf\n%.2lf",x2,x1);
        }
        else{
            printf("%.2lf\n%.2lf",x1,x2);
        }
    }
    else if(d==0)
    {
        x1=-b/(2*a);
        printf("%.2lf",x1);
    }
    else if(d<0)
    {
          x1=(-b)/(2*a);
          x2=sqrt(fabs(d))/(2*a);
        if(b!=0)
        {       
             printf("%.2lf+%.2lfi\n",x1,x2);  
             printf("%.2lf-%.2lfi",x1,x2); 
        }
        else{
        printf("0.00+%.2lfi\n0.00-%.2lfi",x2,x2);   
        }
        
}
    return 0;
}
